package com.qifenqian.turbot.module.entity.response.dish

import android.os.Parcelable
import kotlinx.android.parcel.Parcelize

/**
 * @author H
 * @createTime 2018/12/21 17:22
 * @description 菜品信息
 * @see
 * @since
 */
//需要添加 dishTypeName 参数
@Parcelize
data class DishEntity(
        var createTime: String, // 2019-01-07 16:38:27
        var dishName: String, // Test07
        var dishPhotoPath: String,
        var dishTypeId: Int, // 1002
        var id: Int, // 9
        var isSetSize: Int, // 1
        var isSpecialty: Int, // 0
        var price: Double, // 0
        var restaurantId: Int, // 100001
        var sizeList: List<Size>
                     ) : Parcelable {

    @Parcelize
    data class Size(
            var createTime: String,
            var dishId: Int, // 9
            var dishSizeName: String, // 中份
            var id: Int, // 12
            var price: Double // 2500
                   ) : Parcelable

}


